<?php
//----------------------数组 转换为字符串
$arr = range('a', 'z');
echo '<pre>';
print_r($arr);

$str = implode('', $arr);
echo $str, strlen($str);

//----------------------字符串 转换为数组
$cs = '郑州,北京,上海';
$addr = explode(',', $cs);
echo '<br>', gettype($addr), '<br>';
print_r($addr);

$ccc = ["郑", "州"];
print_r($ccc);
echo implode('', $ccc);
